<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <!--[if lt IE 9]>
      <script src="https://cdn.jsdelivr.net/npm/html5shiv@3.7.3/dist/html5shiv.min.js"></script>
      <script src="https://cdn.jsdelivr.net/npm/respond.js@1.4.2/dest/respond.min.js"></script>
    <![endif]-->
    <link rel="stylesheet" href="bootstrap/css/bootstrap.min.css">
    <style>
        .row div {
            height: 50px;
        }
        
        .row div:nth-child(1) {
            background-color: pink;
        }
        
        .row div:nth-child(2) {
            background-color: purple;
            color: white;
        }
        
        .row div:nth-child(3) {
            background-color: pink;
        }
        
        .row div:nth-child(4) {
            background-color: purple;
            color: white;
        }
    </style>
    <title>Document</title>
</head>

<body>
    <div class="container">
        <div class="row">
            <div class="col-xs-3 visible-lg">1</div>
            <div class="col-xs-3">2</div>
            <div class="col-xs-3 hidden-sm ">3</div>
            <div class="col-xs-3">4</div>
        </div>
    </div>
</body>

</html>